//
//  SinglePageSubViewController.h
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/11/7.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "BaseViewController.h"
#import "NewSubjectModel.h"

typedef void(^LoadSuccBlock)(NSString*SubjectName,NSString*ShopName);
@interface SinglePageSubViewController : BaseViewController

@property(nonatomic,strong)NewSubjectData *SubModel;//多张表typeid不为0，单张表不存在typeid

@property(nonatomic,copy)NSString*ContentUrl;//单页与多页记得区分

@property(nonatomic,copy)LoadSuccBlock Moreblock;//用于显示多张表时的名称


//-----------------------------------//从结果页进入传递
@property(nonatomic,assign)BOOL isPop;//注意，如果是yes 则返回前一个页面结果，如果是NO，则new一个

@property(nonatomic,assign)BOOL confirmState;// 确认状态（0未确认、1已确认）//已确认隐藏编辑

@property(nonatomic,assign)BOOL OpenLookOther;//是否开办方方查看商户.只针对开办方

//-----------------------------------//

@property(nonatomic,assign)BOOL CheckLookSelfRecord;

-(void)GotoEdit:(UIBarButtonItem*)sender;

@end
